package com.example.demo.controller;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("job")
public class JobController {

    @GetMapping
    public String listJob(){

        System.out.println("Houenfu周一完成了list job模块！");
        return "Job list";
    }

    @PostMapping
    public String addList(){

        System.out.println("Houenfu周二完成了job list代码！");
        return "job list";
    }

    @DeleteMapping
    public String deleteJob(){

        System.out.println("Houenfu完成了job delete模块！");
        return "delete ok!";
    }
}
